package com.heavenick.app.dao;

import java.util.List;

import com.heavenick.app.model.pojo.pr_city;
import com.heavenick.core.annotation.DaoMethod;
import com.heavenick.core.annotation.Namespace;
import com.heavenick.core.model.PageInfoObject;

public interface SimpleDao {

	 	int deleteByPrimaryKey(Long cityId);

	    int insert(pr_city record);
	    
	    int insertSelective(pr_city record);

	    pr_city selectByPrimaryKey(Long cityId);
	    
	    int updateByPrimaryKeySelective(pr_city record);

	    int updateByPrimaryKey(pr_city record);
	    
	    List<pr_city> selectWithPageInfo(pr_city record,PageInfoObject pageInfo);
	    
	    @DaoMethod(namespace="com.heavenick.app.model.pojo.pr_city",sqlId="selectWithPage")
	    List<pr_city> selectWithPage(pr_city record);
}